package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("prescriptiondetailed")
public class PrescriptionDetailed {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "PrescriptionID")
    private int PrescriptionID;

    @TableField(value = "DrugsID")
    private int DrugsID;

    @TableField(value = "DrugsUsage")
    private String DrugsUsage;

    @TableField(value = "Dosage")
    private String Dosage;

    @TableField(value = "Frequency")
    private String Frequency;

    @TableField(value = "Amount")
    private BigDecimal Amount;

    @TableField(value = "State")
    private int State;


}
